<?php
/* @var $this UsersController */
/* @var $model Users */

$this->breadcrumbs=array(
	'报名信息管理'=>array('admin'),
	'修改报名信息',
);
//设置页面标题
$this->pageTitle=Yii::app()->name.' - 修改报名信息';
$this->contentTitle='修改报名信息';
?>

<!--表单内容-->
<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'users-form',
	'enableAjaxValidation'=>false,
        'enableClientValidation'=>true,
        'clientOptions'=>array(
            'validateOnSubmit'=>true
        ),
    'htmlOptions'=>array('enctype'=>'multipart/form-data','class'=>'ajax_form'),
)); ?>

<script type="text/javascript" charset="utf-8" src="<?php echo Yii::app()->baseUrl?>/ueditor/ueditor.config.js"></script>
<script type="text/javascript" charset="utf-8" src="<?php echo Yii::app()->baseUrl?>/ueditor/ueditor.all.js"></script>
<script type="text/javascript" charset="utf-8" src="<?php echo Yii::app()->baseUrl?>/ueditor/lang/zh-cn/zh-cn.js"></script>


<table cellspacing="1" class="myform">
	<tr>
		<td align="right"><?php echo $form->labelEx($model,'vote_id'); ?></td>
		<td>
			 <?php echo $form->dropDownList($model,'vote_id',CHtml::listData(Vote::model()->findAll(), 'id', 'title'),
                                array('empty'=>'-----请选择----','style'=>'float: left;')); ?> 
			<?php echo $form->error($model,'subject_id'); ?>
		</td>
	</tr>

	<tr>
		<td align="right"><?php echo $form->labelEx($model,'app_userid'); ?></td>
		<td>
			<?php echo $form->textField($model,'app_userid',array('class'=>'fl input')); ?>
			<?php echo $form->error($model,'app_userid'); ?>
		</td>
	</tr>

	<tr>
		<td align="right"><?php echo $form->labelEx($model,'app_name'); ?></td>
		<td>
			<?php echo $form->textField($model,'app_name',array('size'=>10,'maxlength'=>10,'class'=>'fl input')); ?>
			<?php echo $form->error($model,'app_name'); ?>
		</td>
	</tr>

	<tr>
		<td align="right"><?php echo $form->labelEx($model,'username'); ?></td>
		<td>
			<?php echo $form->textField($model,'username',array('size'=>10,'maxlength'=>10,'class'=>'fl input')); ?>
			<?php echo $form->error($model,'username'); ?>
		</td>
	</tr>
	
		<tr>
		<td align="right"><?php echo $form->labelEx($model,'head_image'); ?></td>
		<td>
			<?php echo $form->textField($model,'head_image',array('size'=>60,'maxlength'=>255,'class'=>'fl input')); ?>
			<?php echo $form->error($model,'head_image'); ?>
		</td>
	</tr>

	<tr>
		<td align="right"></td>
		<td>
			<?php echo CHtml::activeFileField($model,'head_image1'); ?>
			<?php echo $form->error($model,'head_image1'); ?>
		</td>
	</tr>

	<tr>
		<td align="right"><?php echo $form->labelEx($model,'remark'); ?></td>
		<td>
			<?php echo $form->textArea($model,'remark',array('rows'=>6, 'cols'=>50,'class'=>'fl input')); ?>
			<?php echo $form->error($model,'remark'); ?>
		</td>
	</tr>

	<tr>
		<td align="right"><?php echo $form->labelEx($model,'number'); ?></td>
		<td>
			<?php echo $form->textField($model,'number',array('class'=>'fl input')); ?>
			<?php echo $form->error($model,'number'); ?>
		</td>
	</tr>

        
        <tr>
		<td align="right"><?php echo $form->labelEx($model,'is_check'); ?></td>
 		<td>
			<?php echo $form->dropDownList($model,'is_check',array('0'=>'未审核','1'=>'已通过'),
                                array('style'=>'float: left;')); ?> 
			<?php echo $form->error($model,'is_check'); ?>
		</td> 
	</tr>

	<tr>
        <td align="right"></td>
        <td>
            <input class="but" type="submit" name="yt1" value="提 交" />        </td>
    </tr>
</table>


<!--<script type="text/javascript">
var ue = UE.getEditor('Users_remark',{
    initialFrameWidth : 700,
    initialFrameHeight: 300
});
</script>-->

<?php $this->endWidget(); ?>
<!--表单内容-->